//
//  CarouseNewsCell.swift
//  d11
//
//  Created by peale on 2018/8/7.
//  Copyright © 2018年 Tech_001. All rights reserved.
//

import UIKit

class CarouseNewsCell: UICollectionViewCell {
        var textLabel: UILabel!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self.backgroundColor = UIColor.white
        
        textLabel = UILabel.init(frame: CGRect(x:0, y:0, width: self.contentView.width, height: self.contentView.height))
        textLabel.backgroundColor = UIColor.clear
        textLabel.font = UIFont.systemFont(ofSize: 14)
        self.contentView.addSubview(textLabel)
        
    }
    
    func loadWebImage(imageUrl: String) -> Void {
        textLabel.text = imageUrl
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
